package com.sykj.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * @program: spirngboot_Demo
 * @description:
 * @author: qiaoli
 * @create: 2020-07-11 09:45
 */
@Configuration
public class RabbitMqConfig {
    @Bean
    public Queue queue() {
        return new Queue("test");
    }
}
